package kr.co.choongang;

import java.io.Serializable;
import java.sql.Date;

public class Board implements Serializable {
	private static final long serialVersionUID = 1L;

	private Integer board_no;
	private Integer user_seq;
	private String board_writer;
	private Date board_date;
	private String board_title;
	private String board_content;
	private Integer board_readacount;

	public Board() {
	
	}

	public Integer getBoard_no() {
		return board_no;
	}

	public void setBoard_no(Integer board_no) {
		this.board_no = board_no;
	}

	public Integer getUser_seq() {
		return user_seq;
	}

	public void setUser_seq(Integer user_seq) {
		this.user_seq = user_seq;
	}

	public String getBoard_writer() {
		return board_writer;
	}

	public void setBoard_writer(String board_writer) {
		this.board_writer = board_writer;
	}

	public Date getBoard_date() {
		return board_date;
	}

	public void setBoard_date(Date board_date) {
		this.board_date = board_date;
	}

	public String getBoard_title() {
		return board_title;
	}

	public void setBoard_title(String board_title) {
		this.board_title = board_title;
	}

	public String getBoard_content() {
		return board_content;
	}

	public void setBoard_content(String board_content) {
		this.board_content = board_content;
	}

	public Integer getBoard_readacount() {
		return board_readacount;
	}

	public void setBoard_readacount(Integer board_readacount) {
		this.board_readacount = board_readacount;
	}

	public Board(Integer board_no, Integer user_seq, String board_writer,
			Date board_date, String board_title, String board_content,
			Integer board_readacount) {
		super();
		this.board_no = board_no;
		this.user_seq = user_seq;
		this.board_writer = board_writer;
		this.board_date = board_date;
		this.board_title = board_title;
		this.board_content = board_content;
		this.board_readacount = board_readacount;
	}

	@Override
	public String toString() {
		return "Board [board_no=" + board_no + ", user_seq=" + user_seq
				+ ", board_writer=" + board_writer + ", board_date="
				+ board_date + ", board_title=" + board_title
				+ ", board_content=" + board_content + ", board_readacount="
				+ board_readacount + "]";
	}

	

}
